// Buffer 与字符串的转化
let buffer1 = Buffer.from([105, 108, 111, 118, 101, 121, 111, 117]);
// iloveyou
console.log(buffer1.toString())


// 读取
console.log(buffer1[1]);

// 修改
buffer1[1] = 97;

// 查看字符串结果
console.log(buffer1.toString());